package com.unreal.example.bean;

import java.io.Serializable;
import java.util.Date;

import org.springframework.data.annotation.CreatedDate;
import org.springframework.data.mongodb.core.mapping.Document;

import lombok.Data;

/**
 * AccountInfo
 */
@Data
@Document(collection = "account_info")
public class AccountInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;
    private String account;
    private String password;
    private String type;
    private String describe;
    private String remark;
    private Date createDate;

    @Override
    public String toString() {
        return "id:"+id+",account:"+account+",password:"+password+",type:"+type+",describe:"+describe+",remark:"+remark+",createDate:"+createDate;
    }
}